package net.disy.cadenza.repository.selector;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class ResultTable {
	private Map<String, List<String>> tableColumnToValues = new HashMap<String, List<String>>();
	private Map<String, String> keywordToTableColumn = new HashMap<String, String>();
	
	public ResultTable(Map<String, List<String>> tableColumnToValues){
		this.tableColumnToValues = tableColumnToValues;
	}
	
	public void addKeywordToTableColumn(String keyword, String tableColumn){
		keywordToTableColumn.put(keyword, tableColumn);
	}

	public Map<String, List<String>> getTableColumnToValues() {
		return tableColumnToValues;
	}

	public Map<String, String> getKeywordToTableColumn() {
		return keywordToTableColumn;
	}
	
	public String toString(){
		return tableColumnToValues.toString();
	}
}
